<template>
  <Layout desc="封装一个v-tooltip指令">
    <div class="flex flex-col items-center gap-5 mt-60">
      <el-button v-tooltip:top="'primary 提示信息'" type="primary"
        >Primary</el-button
      >

      <p class="cursor-pointer" v-tooltip="'Lorem ipsum'">Lorem ipsum</p>
    </div>
  </Layout>
</template>

<script setup lang="ts"></script>

<style scoped lang="scss"></style>
